/**
 *
 */
package com.zhuoyue.zhtj.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.zhtj.entity.Tclass;
import com.zhuoyue.zhtj.dao.TclassDao;

/**
 * 所带班级Service
 * @author hss
 * @version 2017-09-28
 */
@Service
@Transactional(readOnly = true)
public class TclassService extends CrudService<TclassDao, Tclass> {

	public Tclass get(String id) {
		return super.get(id);
	}
	
	public List<Tclass> findList(Tclass tclass) {
		return super.findList(tclass);
	}
	
	public Page<Tclass> findPage(Page<Tclass> page, Tclass tclass) {
		return super.findPage(page, tclass);
	}
	
	@Transactional(readOnly = false)
	public void save(Tclass tclass) {
		super.save(tclass);
	}
	
	@Transactional(readOnly = false)
	public void delete(Tclass tclass) {
		super.delete(tclass);
	}
	
}